package com.bh.shipment.vo;

import com.bh.common.annotation.Dict;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.DictLabelVo;
import com.bh.kysys.domain.JcSysOrganization;
import com.bh.shipment.domain.JcBerthStand;
import com.bh.shipment.domain.JcShipmentImg;
import com.bh.shipment.domain.JcVehicleArrive;
import com.bh.vehicle.domain.JcDriver;
import com.bh.vehicle.domain.JcVehicle;
import com.bh.vehicle.domain.JcVehicleHead;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 运单管理对象 jc_shipment
 *
 * @author slx
 * @date 2023-04-22
 */
@Data
public class JcShipmentUnloadVo extends DictLabelVo {

    private Long id;

    private Integer status = 1;

    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //代码
    @Excel(name = "代码")
    private String code;
    /**
     * 回单份数
     */
    @Excel(name = "回单份数")
    private Integer backNumber;

    /**
     * 外部车牌号
     */
    @Excel(name = "外部车牌号")
    private String license;


    /**
     * 订单数
     */
    @Excel(name = "订单数")
    public Integer totalOrderNum;


    /**
     * 件数
     */
    @Excel(name = "件数")
    public Integer number;

    /**
     * 外部司机名称
     */
    @Excel(name = "外部司机名称")
    private String outDriver;

    /**
     * 运单日期
     */
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "运单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 司机ID
     */
    @Excel(name = "司机ID")
    private Long jcDriverId;

    /**
     * 组织机构ID
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "组织机构ID")
    private Long jcOrganizationId;

    /**
     * 起运站ID
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "起运站ID")
    private Long jcFromOrganizationId;

    /**
     * 当前站ID
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "当前站ID")
    private Long jcNowOrganizationId;

    /**
     * 下一站ID
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "下一站ID")
    private Long jcNextOrganizationId;

    /**
     * 目的站ID
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "目的站ID")
    private Long jcToOrganizationId;

    /**
     * 经由站组织机构IDS
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id", dictAlias = "orgnameList")
    @Excel(name = "经由站组织机构IDS")
    private String orgIds;

    /**
     * 途径站显示
     */
    @Excel(name = "途径站显示")
    private String orgnameList;

    private String imgUrls;//装车照片
}
